package com.jingdianjichi.subject.domain.service;

import com.jingdianjichi.subject.domain.entity.SubjectCategoryBO;

import java.util.List;

/**
 * @Author:ZouChao
 * @Description:
 * @Date:Created in 14:19 2024/12/12
 * @Modified By:
 */

public interface SubjectCategoryDomainService {

    void add(SubjectCategoryBO subjectCategoryBO);
    /**
    * 查询一级分类
     * @param subjectCategoryBO
     */
    //2
    List<SubjectCategoryBO> queryCategory(SubjectCategoryBO subjectCategoryBO);


    /**
     * 更新
     * @param subjectCategoryBO
     */
    Boolean update(SubjectCategoryBO subjectCategoryBO);

    Boolean delete(SubjectCategoryBO subjectCategoryBO);
}
